﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BUS;
using DTO;

namespace GUI
{
    public partial class Login_Form : Form
    {
        
        public Login_Form()
        {
            InitializeComponent();
        }

        public void funData(string value)
        {
            txtUsername.Text = value;
        }

        private void Login_Click(object sender, EventArgs e)
        {
            DTO_NguoiDung nd = new DTO_NguoiDung();
            nd.TenDangNhap = txtUsername.Text;
            //nd.MatKhau = txtPassword.Text;
            //BUS_NguoiDung.ThemNguoiDung(nd);
            
        }
    }
}
